package cn.mywcc.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.HashMap;

@FeignClient("erp-public-service")
public interface UserTokenChecker {
    @GetMapping("user-login-check-token")
    HashMap<String, String> check(@RequestParam("token") String token);
}
